package org.redis.cluster.processor;

import org.redis.cluster.redis.transport.RedisReply;

public interface RedisReplyProcessor<T extends RedisReply> {

	/**
	 * 处理
	 * @param reply
	 * @return
	 */
	public byte[] process(T reply);
	
	/**
	 * 返回支持的类型
	 * @return
	 */
	public Class<? extends RedisReply> getSupportClass();
}